package com.chaodev.base.service;

import com.github.pagehelper.PageInfo;
import com.chaodev.base.dto.VolunteerWorkRecordDto;
import com.chaodev.base.model.VolunteerWorkRecord;

import java.util.List;

public interface VolunteerWorkRecordService {

    /**
     * 新增工作服务情况记录
     * @param volunteerWorkRecord
     * @return
     */
    boolean addVolunteerWorkRecord(VolunteerWorkRecord volunteerWorkRecord);

    /**
     * 修改工作服务情况记录
     * @param volunteerWorkRecord
     * @return
     */
    boolean editVolunteerWorkRecord(VolunteerWorkRecord volunteerWorkRecord);

    /**
     * 删除工作服务情况记录
     * @param volunteerWorkRecord
     * @return
     */
    boolean removeVolunteerWorkRecord(VolunteerWorkRecord volunteerWorkRecord);

    /**
     * 查询工作服务情况记录列表
     * @param volunteerWorkRecordDto
     * @return
     */
    List<VolunteerWorkRecord> getVolunteerWorkRecordList(VolunteerWorkRecordDto volunteerWorkRecordDto);

    /**
     * 查询工作服务情况分页
     * @param volunteerWorkRecordDto
     * @return
     */
    PageInfo<VolunteerWorkRecord> getVolunteerWorkRecordPage(VolunteerWorkRecordDto volunteerWorkRecordDto);

}
